﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Warranty.Model.Interface;
using Warranty.Model.Model;
using Common.Util;

namespace Warranty.Provider
{
    public class WorkOrderProvider : GenericProvider, IWorkOrderProvider
    {
        public List<WorkOrder> SearchWorkOrders()
        {
            var query = repository.GetQuery<WorkOrder>();
            return query.ToList();
        }
    }
}
